<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
	<%@ include file="/commons/meta.jsp" %>
</head>
<body>
<%@ include file="/WEB-INF/view/header.jsp" %>
<div id="content">
	<%@ include file="/WEB-INF/view/leftbar.jsp" %>
	<div id="main">
		<h1>文献导入</h1>
		<form id="importForm" action="importLiterature" method="post" enctype="multipart/form-data">
		<div class="error">
			${errorMessage }
		</div>
		<table>
			<tr>
				<td>请选择文件<br/>（请选择需要导入的csv格式的文件）</td>
				<td>
					<input type="file" name="uploadFile" />${uploadFileFieldError }
				</td>
			</tr>
			<tr>
				<td></td>
				<td>
					<input id="submitBtn" type="submit" value="导入" />
				</td>
			</tr>
		</table>
		</form>
	</div>
</div>
<%@ include file="/WEB-INF/view/footer.jsp" %>
</body>
</html>